<!DOCTYPE html>
<html>

  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>查看明细表格</title>
    <!-- Bootstrap -->
    <link href="../assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="fonts/iconfont.css" rel="stylesheet">
    <link href="../assets/css/style.css" rel="stylesheet" />
    <link href="../assets/css/motai.css" rel="stylesheet" />
    <link href="../assets/css/tabletable.css" rel="stylesheet" />
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
		      <script src="../assets/js/html5shiv.min.js"></script>
		      <script src="../assets/js/respond.min.js"></script>
		      <![endif]-->
    <style type="text/css">
     .table-responsive{
          position:relative;
        }
        .firsttd,.firstth{
          position:fixed;}

    </style>
  </head>

  <body>
    <!--内容区域-->
    <button type="button" class="btn btn-info " data-toggle="modal" data-target="#myModal">添加+</button>
    <!-- 模态框（Modal） -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content ckmx-modal-body">
          <div class="modal-body modal-body-padding-10 ">
            <!-- 头部 -->
            <div class="modal-body-head">
              单号<span>0000177671</span> 桌位
              <span>0000177671</span>
            </div>
            <div class="ckmx-modal-content">
              <div class="ckmx-moda-title">订单概况</div>
              <div class="ckmx-moda-title2">
                <div class="row">
                  <div class="col-sm-2 col-xs-4">菜品数:19份</div>
                  <div class="col-sm-2 col-xs-4"> 金钱:679</div>
                  <div class="col-sm-2 col-xs-4">人数:8人</div>
                  <div class="col-sm-2 col-xs-4">人均:65:85</div>
                  <div class="col-sm-2 col-xs-4">退菜:0份</div>
                  <div class="col-sm-2 col-xs-4">赠送:0份</div>
                </div>
                <div class="row">
                  <div class="col-sm-3 col-sm-offset-9 text-al-cet">12月10日 19:21</div>
                </div>

              </div>
              <div class="ckmx-table-body">
                <div class="ckmx-moda-title">
                  <span>菜单明细</span>
                  <span class="right_sanjiao"><i class="iconfont iconfont_click icon-xiangshang"></i></span>
                </div>
                <div class="ckmx-table-table">
                  <div class="table-responsive ckmx-table-hei">
                    <table class="table ckmx-table">
                      <thead>
                        <tr>
                          <th class="firstth" valign="middle">序号</th>
                          <th class="secondta">菜品</th>
                          <th>份数</th>
                          <th>单价</th>
                          <th>质价</th>
                          <th>小计</th>
                        </tr>
                      </thead>
                      <tbody class="border-lf mytable ">
                        <tr>
                          <td class="firsttd bgcolor-fff" valign="middle">1</td>
                          <td class="secondta">西瓜霜</td>
                          <td>2</td>
                          <td>24</td>
                          <td>30</td>
                          <td>60</td>
                        </tr>
                        <tr>
                          <td class="firsttd bgcolor-fff" valign="middle">1</td>
                          <td class="secondta">西瓜霜</td>
                          <td>2</td>
                          <td>24</td>
                          <td>30</td>
                          <td>60</td>
                        </tr>
                        <tr>
                          <td class="firsttd bgcolor-fff" valign="middle">1</td>
                          <td class="secondta">西瓜霜</td>
                          <td>2</td>
                          <td>24</td>
                          <td>30</td>
                          <td>60</td>
                        </tr>
                        <tr>
                          <td class="firsttd bgcolor-fff" valign="middle">1</td>
                          <td class="secondta">西瓜霜</td>
                          <td>2</td>
                          <td>24</td>
                          <td>30</td>
                          <td>60</td>
                        </tr>
                      </tbody>
                    </table>
                  </div>
                  <!--<div class="ckmx-modal-heji">
                    <span class="hejifenshu">合计：10份</span>
                    <span class="hejiyuan">合计：680元</span>
                  </div>-->
                </div>

              </div>

              <div class="ckmx-table-body">
                <div class="ckmx-moda-title">
                  <span>用餐人员</span>
                  <span class="right_sanjiao"><i class="iconfont iconfont_click icon-xiangshang"></i></span>
                </div>
                <div class="ckmx-table-table">
                  <div class="table-responsive">
                    <table class="table ckmx-table">
                      <thead>
                        <tr>
                          <th class="firstth" valign="middle">序号</th>
                          <th class="secondta">头像</th>
                          <th>昵称</th>
                          <th>姓名</th>
                          <th>储蓄卡</th>
                          <th>卡券</th>
                        </tr>

                      </thead>
                      <tbody class="border-lf mytable">
                        <tr>
                          <td class="firsttd bgcolor-fff" valign="middle">1</td>
                          <td class="secondta"><img src="../assets/images/20150805133816_X8zCQ.thumb.700_0.jpeg" class="ckmx-touxiang" ></td>
                          <td>西瓜霜</td>
                          <td>李离</td>
                          <td>30</td>
                          <td>60</td>
                        </tr>
                        <tr>
                          <td class="firsttd bgcolor-fff" valign="middle">1</td>
                          <td class="secondta"><img src="../assets/images/20150805133816_X8zCQ.thumb.700_0.jpeg" class="ckmx-touxiang" ></td>
                          <td>西瓜霜</td>
                          <td>李离</td>
                          <td>30</td>
                          <td>60</td>
                        </tr>
                        <tr>
                          <td class="firsttd bgcolor-fff" valign="middle">1</td>
                          <td class="secondta"><img src="../assets/images/20150805133816_X8zCQ.thumb.700_0.jpeg" class="ckmx-touxiang" ></td>
                          <td>西瓜霜</td>
                          <td>李离</td>
                          <td>30</td>
                          <td>60</td>
                        </tr>
                      </tbody>
                    </table>
                  </div>
                </div>

              </div>

            </div>

          </div>
        </div>
        <!-- /.modal-content -->
      </div>
      <!-- /.modal -->
    </div>

    <script src="../assets/js/jquery.min.js"></script>
    <script src="../assets/js/bootstrap.min.js"></script>
    <script src="../assets/js/main.js"></script>
    <script type="text/javascript">
    

      $('.iconfont_click').on('click', function() {
        if($(this).hasClass('icon-xiangxia2')) {
          $(this).removeClass('icon-xiangxia2');
          $(this).addClass('icon-xiangshang')
          $(this).parent().parent().siblings('.ckmx-table-table').removeClass('hidden');
        } else {
          $(this).removeClass('icon-xiangshang');
          $(this).addClass('icon-xiangxia2')
          $(this).parent().parent().siblings('.ckmx-table-table').addClass('hidden');

        }
      })
    </script>
  </body>

</html>